package com.example.demo.mapper;

import com.example.demo.entity.Userinfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * @Author :蕉绿
 * @Date : 2023/3/1 9:19
 * @Version : V1.0
 * @Description :
 */
@Mapper
public interface UserMapper {

     Userinfo getById(@Param("id") Integer id);
     Userinfo getByName(@Param("username")String username);
}
